package framework.eea.interfaces;

import java.awt.event.KeyListener;
import javax.swing.event.MouseInputListener;
import framework.eea.exception.EEAException;
import framework.eea.gui.Graphics;
import framework.eea.gui.JFrameGameContainer;

/**
 *
 * @author Markus Schr&ouml;der
 */
public interface Game extends KeyListener, MouseInputListener {

    public void init(JFrameGameContainer gc) throws EEAException;
    
    public void deinit(JFrameGameContainer gc) throws EEAException;

    public void update(JFrameGameContainer gc, int i) throws EEAException;

    public void render(JFrameGameContainer gc, Graphics grphcs) throws EEAException;

    //public boolean closeRequested();

    public String getTitle();
}
